import cv2
img = cv2.imread('3.tif', 1)
cv2.namedWindow("image", cv2.WINDOW_NORMAL)
cv2.imshow("image", img)
print(img.min())
print(img.max())
cv2.waitKey(0)
cv2.destroyAllWindows()